import psutil
import time
while 1:
    print("i am doing")
    for process in psutil.process_iter():
        # print('进程', process)
        if process.name() == "LeagueClient.exe":
            process.kill()
    time.sleep(10)

